/**
 * 
 */
package com.edooteach.webpay.entity.callback;

import java.util.Map;

import com.demo2do.core.wechat.entity.pay.PayConfig;
import com.demo2do.core.wechat.entity.pay.PayTransaction;
import com.edooteach.webpay.entity.PayChannel;

/**
 * @author downpour
 *
 */
public interface CallbackRequest {

    /**
     * 
     * @return
     */
    public Map<String, String> getRequestParameters();
    
    /**
     * 
     * @return
     */
    public PayChannel getPayChannel();

    /**
     * 
     * @return
     */
    public PayConfig getPayConfig();
    
    /**
     * 
     * @return
     */
    public PayTransaction getPayTransaction();
    
    /**
     * Get signature field in payment callback request.
     * 
     * @return
     */
    public String getSign();
        
    /**
     * 
     * @return
     */
    public boolean isValid();

}
